package com.howso.cloud.oauth2.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 用户实体
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUser implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id;
	private String username;
	private String password;

	private String idCard;
	private String email;
	private String mobile;

	private String openId;

	private Boolean enabled;

	private List<SysRole> roles;

}
